/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package query.parser;

import query.parser.IInlineFormattable;

/**
 *
 * @author dzb
 */
public abstract class AbstractExpression implements IExpression {

	private IExpression parent;

	protected String value;

	public AbstractExpression(IExpression parent) {
		this.parent = parent;
	}
	
	public IExpression getParent() {
		return parent;
	}
	
	public void setParent(IExpression parent) {
		this.parent = parent;
	}

	public boolean isCanInline() {
		return false;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String v) {
		this.value = v;
	}
	
}
